In the height of the Maya civilization called Chitzen Itza, a sacrifice is about to take place to prevent the end of the world from happening at the end of the 13th Baktun. A Mayan Homer, who has been fattened up to be sacrificed, hears about it for the first time (as he did not pay attention during orientation) and attempts to back out to no avail. However, his wife, a Mayan Marge, tricks a guard, a Mayan Moe, into getting himself sacrificed instead by promising him sex. After the sacrifice, a Mayan Professor Frink confirms that the world will end after the 13th Baktun, which, accounting for the Gregorian calendar and the birth of Jesus, puts the end of days in the year 2012 (with the Mayan Mayor Quimby placing the blame on Obama).
In the present, Homer encounters three Mayan stone gods, mistaking them for the trick-or-treaters. One of them steps on Homer with blood spewing, then the second one jumps on Flanders' house. The stone trio wreak havoc on Springfield where one stone god throws fireballs at the city hall and throws Lard Lad's donuts trying to hit a UFO and then the world, destroying the popular landmarks like the Eiffel Tower crashing to Big Ben, wrapping up the Great Wall of China, and letting the George Washington head kiss Abraham Lincon's head in Mt. Rushmore causing rivers of lava to appear, and splitting the earth into large fissures. Once their destruction is done, they high five then they fly off, leaving the Earth to explode. In its place, the bloodied title, "Treehouse of Horror XXIII" appears.



